import 'package:flutter/material.dart';
import '../../../utils/extension/double.dart';

BottomNavigationBarItem bottomItemGenerator(String name,String uri){
  return  BottomNavigationBarItem(
    label: name,
    icon: Image.asset("static/icons/$uri.png",width: 24.px,),
    activeIcon: Image.asset("static/icons/${uri}_active.png",width: 24.px,),
  );
}

List<BottomNavigationBarItem> bottomItemList = [
  bottomItemGenerator("家+","home"),
  bottomItemGenerator("场景","alarm"),
  bottomItemGenerator("我的", "user"),
];

